package org.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.entity.Teacher;

import java.net.InetAddress;
import java.util.List;
import java.util.Map;

//基于Mybatis-plus定义的Dao
public interface TeacherDao extends BaseMapper<Teacher> {
    //自定义查询——进行多表联合查询，返回的数据中包含学院名称等信息
    public List<Teacher> getAll();

    //多条件组合查询
    public List<Teacher> query(Map params);

    //
    public Teacher selectFullInfoById(Integer id);

 }
